import request from  '@/utils/request'

const headers = { 'Content-Type': 'application/x-www-form-urlencoded' }
export const getIterationListService = (params) => {
    return request.get('/api/iteration/list', {params})
}

export const deleteIterationService = (data) => {
    return request.post('/api/iteration/delete', data, {headers:headers})
}

export const addIterationService = (data) => {
    return request.post('/api/iteration/add', data, {headers:headers})
}


export const updateIterationService = (data) => {
    return request.post('/api/iteration/update', data, {headers:headers})
}